home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 138
/
Volume 138 Aug 19 2011 - Damaged.iso
/
Games
/
tobby_on_ice.swf
/
scripts
/
DefineButton2_306
/
BUTTONCONDACTION on(press).as
Wrap
Text File
|
2011-08-19
|
513b
|
25 lines
on(press){
if(_root.stat != "main")
{
return undefined;
}
if(_root.instWindowFlg)
{
return undefined;
}
if(_root.pauseFlg)
{
_root.pauseOff();
_root.winReturnMC.removeMovieClip();
_root.returnWindowFlg = false;
}
else
{
_root.pauseOn();
_root.attachMovie("winReturn","winReturnMC",_root.depthWindow++);
_root.winReturnMC._x = 320;
_root.winReturnMC._y = 260;
_root.returnWindowFlg = true;
}
}